 <?php 

$username = $_GET['username'];
//$username='trang';

include("../db/opendb.php");

$query = "select Image from Users where Username = '".$username."'";

$result = mysql_query($query) or die ("SQL Error".mysql_error());
$row = mysql_fetch_assoc($result);
echo ($row)?'<img style="border:1px solid black; float:left;" src=http://realivent.com/user_images/t40_'.$row['Image'].' />': '' ;

?>
